package stringss;

public class pdf {
	public static void main(String[] args){
		int n=7777;
		long t;
		{
			StringBuffer sb= new StringBuffer();
			t=System.currentTimeMillis();
			for(int i=n;i>0;i--)
			{
				System.out.println(System.currentTimeMillis()-t);
			}
		}
		
	{
			StringBuilder sb= new StringBuilder();
			t=System.currentTimeMillis();
			for(int i=n;i>0;i--)
			{
				System.out.println(System.currentTimeMillis()-t);
			}
		}
		
	}

}
